package com.cpe.data.domain.student;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sql.data.domain.user.UserInfo;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class StudentInfo extends UserInfo {
	private static final long serialVersionUID = -2766683936916405031L;

	private String sex;

	private Float age;

	private String serialNumber;

	private String className;

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date birthday;
}
